package com.db.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_depts")
public class SysDept extends DateBase implements Serializable {
	@TableId(type = IdType.AUTO)
	private Integer id;
	private String name;
	private Integer parentId;
	private Integer sort;
	private String note;
	private String createdUser;
	private String modifiedUser;
	//private String parentName;
}
